package cn.yfj.org.mapper;

import cn.yfj.basic.mapper.BaseMapper;
import cn.yfj.org.domain.Employee;
import cn.yfj.system.domain.Menu;

import java.util.List;

/**
 * 数据层的接口
 */
public interface EmployeeMapper extends BaseMapper<Employee> {

    Employee loadByUsename(String username);

    List<String> loadPerssionSnByLogininfoId(Long id);

    Employee loadEmpByLogininfoId(Long id);

    List<Menu> loadMenusByLogininfoId(Long id);
}
